#!/usr/bin/env node
require('./common/dateFormatter');

// const argv = require('./common/command');

// if(argv.length >=3)return;

process.env.autopack_data={};

let config;

try {

  config = require('autopack.config.js');
  
} catch (error) {
}
// .conf后缀的配置文件
const confFile = require('./common/getConf');

const Autopack = require('./Autopack');

const autopack = new Autopack({...confFile,...config});

autopack.hooks.entryOption.call();

autopack.init();

